<?php
/**
 * Created by openXtiger.org.
 * User: xtiger
 * Date: 2009-6-17
 * Time: 20:47:32
 */
 function xtb_validlogin_intercept($invocationInvoke,$redirect) {
    global $_UD;
    session_start();
    if(empty($_SESSION['passport_detail'])) {
        return xtr_redirect('',$redirect);       
    }
    $_UD = $_SESSION['passport_detail'];
    return $invocationInvoke();
 }
 
?>